package com.jz.netthings.application.stockManage.mapper;

import com.jz.netthings.application.stockManage.bean.ConsumablesStorage;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 耗材入库信息 Mapper 接口
 * </p>
 *
 * @author yangyunyun
 * @since 2019-07-19
 */
public interface ConsumablesStorageMapper extends BaseMapper<ConsumablesStorage> {

    /**
     * 根据耗材模板编号，获取耗材的基本信息
     * @param templateName
     * @return
     */
    List<Map<String,String>> getStorageByTemplateName(@Param("templateName") String templateName);

}
